import java.awt.image.BufferedImage;
import java.util.Observable;


public class User extends Observable{
	
	private static User user=new User();
	
	private String userName = "Anonymous";
	private BufferedImage  avatar = null ;
	
	private int userNameMaxDime = 10;
	
	
	public static User getUser(){
		return user;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
		setChanged();
		notifyObservers();
	}
	
	
	public int getUserNameMaxDim(){
		return userNameMaxDime;
	}

}
